package com.zhuiyun.project.cyclingapplet.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author guojingzhi
 * @since 2024-07-16
 */
@TableName("call_request")
public class CallRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 请求id（张梦涵）
     */
    @TableId(value = "request_id", type = IdType.AUTO)
    private Integer requestId;

    /**
     * 发起者id
     */
    private Integer starterId;

    /**
     * 接收者id
     */
    private String receiverId;

    /**
     * 请求时间
     */
    private LocalDateTime requestTime;

    /**
     * 请求状态(已接听 0、未接听 1 、无答应  2 )
     */
    private Integer requestStatus;

    /**
     * 活动id
     */
    private Integer activityId;

    public Integer getRequestId() {
        return requestId;
    }

    public void setRequestId(Integer requestId) {
        this.requestId = requestId;
    }

    public Integer getStarterId() {
        return starterId;
    }

    public void setStarterId(Integer starterId) {
        this.starterId = starterId;
    }

    public String getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(String receiverId) {
        this.receiverId = receiverId;
    }

    public LocalDateTime getRequestTime() {
        return requestTime;
    }

    public void setRequestTime(LocalDateTime requestTime) {
        this.requestTime = requestTime;
    }

    public Integer getRequestStatus() {
        return requestStatus;
    }

    public void setRequestStatus(Integer requestStatus) {
        this.requestStatus = requestStatus;
    }

    public Integer getActivityId() {
        return activityId;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    @Override
    public String toString() {
        return "CallRequest{" +
        "requestId = " + requestId +
        ", starterId = " + starterId +
        ", receiverId = " + receiverId +
        ", requestTime = " + requestTime +
        ", requestStatus = " + requestStatus +
        ", activityId = " + activityId +
        "}";
    }
}
